package com.gxa.service.impl.statistical;

import com.gxa.mapper.statistical.AdmStatisMapper;
import com.gxa.pojo.vo.AdmDataVo;
import com.gxa.pojo.vo.CareLevelVo;
import com.gxa.service.statistical.AdmStatisService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.time.LocalDate;
import java.util.List;

/**
 * <h3>new-zhyl</h3>
 * <p></p>
 *
 * @author : 你的名字
 * @date : 2024-02-26 10:43
 **/
@Service
public class AdmStatisServiceImpl implements AdmStatisService {
    @Autowired
    private AdmStatisMapper admStatisMapper;

    @Override
    public Integer selecttTdaysTotal() {

        return admStatisMapper.selecttTdaysTotal();
    }

    @Override
    public Integer selectDifference() {

        return admStatisMapper.selectDifference();
    }

    @Override
    public Integer selectCount() {
        return admStatisMapper.selectCount();
    }

    @Override
    public Integer selectWeekCount() {
        return admStatisMapper.selectWeekCount();
    }

    @Override
    public Integer selectWeekDifference() {
        return admStatisMapper.selectWeekDifference();
    }

    @Override
    public Integer selectYearDifference() {
        return admStatisMapper.selectYearDifference();
    }

    @Override
    public Integer selectMonthCount() {
        return admStatisMapper.selectMonthCount();
    }

    @Override
    public Integer selectmonthDifference() {
        return admStatisMapper.selectmonthDifference();
    }

    @Override
    public List<AdmDataVo> selectCountByDate(LocalDate startDate, LocalDate endDate) {

        return admStatisMapper.selectCountByDate(startDate,endDate);
    }

    @Override
    public List<CareLevelVo> selectByLevel() {

        return admStatisMapper.selectByLevel();
    }


}
